<?php
namespace app\baseinfo\validate;

class Area extends \app\common\validate\Base {
	protected $rule=[
    'id|地区代码'=>'number',
		'name|位置名称'=>'require|length:1,100',
		'pid|父节点'=>'check_id0:Area'
	];
	protected $create_require=['id','name','pid'];
}
?>